onMenuItemClick

abstract fun onMenuItemClick(item: MenuItem): Boolean(source)

This method will be invoked when a menu item is clicked if the item itself did not already handle the event.

Return

true if the event was handled, false otherwise.

Parameters

item

MenuItem that was clicked